
import java.io.*;

public class Main2 {

	public static void main(String[] args) throws IOException{
	
	BufferedReader be = new BufferedReader(new InputStreamReader(System.in));
	
	String testNr="0";
	while(!(testNr.equals("quit")))
	{
		DiffComp diffcomp = new DiffComp();
		System.out.println("\n\nA kilepeshez ird be: quit");
		System.out.println("Ird be az ellenorizendo testeset sorszamat:");
		try {
			testNr=be.readLine();
			diffcomp.compute(testNr);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
}
	
}
